<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: drogon::DrObjectBase类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacedrogon.html">drogon</a></li><li class="navelem"><a class="el" href="classdrogon_1_1DrObjectBase.html">DrObjectBase</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="classdrogon_1_1DrObjectBase-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">drogon::DrObjectBase类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>The base class for all drogon reflection classes.  
 <a href="classdrogon_1_1DrObjectBase.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="DrObject_8h_source.html">DrObject.h</a>&gt;</code></p>
<div class="dynheader">
类 drogon::DrObjectBase 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classdrogon_1_1DrObjectBase__inherit__graph.png" border="0" usemap="#adrogon_1_1DrObjectBase_inherit__map" alt="Inheritance graph"/></div>
<map name="adrogon_1_1DrObjectBase_inherit__map" id="adrogon_1_1DrObjectBase_inherit__map">
<area shape="rect" title="The base class for all drogon reflection classes." alt="" coords="5,487,169,513"/>
<area shape="rect" href="classdrogon_1_1DrObject.html" title=" " alt="" coords="240,192,439,232"/>
<area shape="poly" title=" " alt="" coords="92,473,106,424,130,361,166,297,189,268,216,242,238,228,241,232,219,246,193,271,170,300,135,364,111,425,97,475"/>
<area shape="rect" href="classdrogon_1_1DrObject.html" title=" " alt="" coords="234,256,445,296"/>
<area shape="poly" title=" " alt="" coords="96,473,114,436,140,390,174,345,216,306,237,294,239,299,219,310,178,348,144,393,118,438,101,476"/>
<area shape="rect" href="classdrogon_1_1DrObject.html" title=" " alt="" coords="227,321,451,346"/>
<area shape="poly" title=" " alt="" coords="101,474,147,414,179,382,216,355,242,344,244,349,219,360,183,386,151,417,105,477"/>
<area shape="rect" href="classdrogon_1_1DrObject.html" title=" " alt="" coords="254,370,425,395"/>
<area shape="poly" title=" " alt="" coords="127,479,310,393,312,398,129,484"/>
<area shape="rect" href="classdrogon_1_1DrTemplateBase.html" title="The templating engine class" alt="" coords="248,487,431,513"/>
<area shape="poly" title=" " alt="" coords="183,497,248,497,248,503,183,503"/>
<area shape="rect" href="classdrogon_1_1HttpFilterBase.html" title="The abstract base class for filters For more details on the class, see the wiki site (the &#39;Filter&#39; se..." alt="" coords="531,591,699,617"/>
<area shape="poly" title=" " alt="" coords="167,513,550,589,549,594,166,518"/>
<area shape="rect" href="classdrogon_1_1HttpMiddlewareBase.html" title="The abstract base class for middleware" alt="" coords="234,591,445,617"/>
<area shape="poly" title=" " alt="" coords="121,518,166,543,218,568,282,589,280,594,216,573,164,548,119,522"/>
<area shape="rect" href="classdrogon_1_1HttpSimpleControllerBase.html" title="The abstract base class for HTTP simple controllers." alt="" coords="217,662,461,687"/>
<area shape="poly" title=" " alt="" coords="109,522,156,573,186,601,219,626,256,645,293,659,291,664,254,650,216,630,183,605,152,577,105,525"/>
<area shape="rect" href="classdrogon_1_1WebSocketControllerBase.html" title="The abstract base class for WebSocket controllers." alt="" coords="218,754,461,779"/>
<area shape="poly" title=" " alt="" coords="102,524,147,606,180,654,219,697,263,729,307,751,305,756,260,733,216,701,176,657,143,609,98,527"/>
<area shape="rect" href="classdrogon_1_1DrTemplate.html" title=" " alt="" coords="540,477,691,517"/>
<area shape="poly" title=" " alt="" coords="381,399,510,456,558,475,556,480,508,461,378,404"/>
<area shape="rect" href="classdrogon_1_1HttpFilter.html" title=" " alt="" coords="772,241,920,281"/>
<area shape="poly" title=" " alt="" coords="437,370,460,355,476,333,483,311,483,287,481,262,478,238,479,214,488,191,508,170,535,152,561,141,585,136,610,137,662,149,722,170,753,183,782,201,827,239,823,243,779,206,751,188,720,174,660,154,609,142,586,142,562,146,537,157,511,174,493,194,485,215,483,238,486,262,488,286,488,311,481,336,463,359,440,375"/>
<area shape="rect" href="classdrogon_1_1HttpFilter.html" title=" " alt="" coords="771,420,921,460"/>
<area shape="poly" title=" " alt="" coords="413,395,510,412,649,426,771,434,771,439,648,432,509,417,412,401"/>
<area shape="rect" href="classdrogon_1_1DrTemplate.html" title=" " alt="" coords="521,185,709,210"/>
<area shape="poly" title=" " alt="" coords="436,370,460,355,473,340,480,324,483,290,486,255,493,238,508,221,527,208,530,212,511,225,498,240,491,256,488,291,485,325,477,343,463,359,439,374"/>
<area shape="rect" href="classdrogon_1_1HttpController.html" title="The reflection base class template for HTTP controllers" alt="" coords="532,235,699,275"/>
<area shape="poly" title=" " alt="" coords="437,367,460,355,476,339,483,321,491,303,508,285,531,271,533,276,511,289,496,306,488,324,480,342,463,359,439,372"/>
<area shape="rect" href="classdrogon_1_1HttpFilter.html" title="The reflection base class template for filters" alt="" coords="539,299,692,339"/>
<area shape="poly" title=" " alt="" coords="417,364,461,355,538,336,539,341,462,360,418,370"/>
<area shape="rect" href="classdrogon_1_1HttpMiddleware.html" title="The reflection base class template for middlewares" alt="" coords="526,363,705,403"/>
<area shape="poly" title=" " alt="" coords="438,380,526,380,526,385,438,385"/>
<area shape="rect" href="classdrogon_1_1HttpSimpleController.html" title="The reflection base class template for HTTP simple controllers" alt="" coords="509,5,721,45"/>
<area shape="poly" title=" " alt="" coords="436,372,460,355,474,337,484,320,493,283,491,247,484,209,477,172,475,133,483,95,493,75,507,56,521,43,525,47,511,59,497,78,488,96,480,134,482,171,490,208,497,246,498,284,489,322,478,340,463,359,439,376"/>
<area shape="rect" href="classdrogon_1_1WebSocketController.html" title="The reflection base class template for WebSocket controllers" alt="" coords="510,69,721,109"/>
<area shape="poly" title=" " alt="" coords="436,371,459,355,479,328,488,301,488,273,485,245,481,216,481,186,488,156,507,126,531,108,534,112,511,130,493,159,486,187,486,216,490,244,494,273,493,302,484,331,463,359,439,375"/>
<area shape="rect" href="classdrogon_1_1NotFound.html" title="This class is used by the drogon to generate the 404 page. Users don&#39;t use this class directly." alt="" coords="777,485,915,510"/>
<area shape="poly" title=" " alt="" coords="704,495,777,495,777,500,704,500"/>
<area shape="rect" href="classdrogon_1_1IntranetIpFilter.html" title="A filter that prohibit access from external networks" alt="" coords="971,249,1142,274"/>
<area shape="poly" title=" " alt="" coords="933,259,971,259,971,264,933,264"/>
<area shape="rect" href="classdrogon_1_1LocalHostFilter.html" title="A filter that prohibit access from other hosts." alt="" coords="971,427,1143,453"/>
<area shape="poly" title=" " alt="" coords="935,437,971,437,971,443,935,443"/>
<area shape="poly" title=" " alt="" coords="444,496,540,495,540,501,444,502"/>
<area shape="rect" href="classdrogon_1_1DrTemplate.html" title=" " alt="" coords="521,542,709,567"/>
<area shape="poly" title=" " alt="" coords="418,513,551,539,550,545,417,518"/>
<area shape="poly" title=" " alt="" coords="710,585,719,577,736,557,746,538,753,500,755,458,759,434,767,407,799,336,830,280,835,283,804,339,772,409,764,435,760,458,758,501,751,540,741,560,723,581,713,589"/>
<area shape="poly" title=" " alt="" coords="710,583,720,577,731,564,738,552,744,526,749,499,756,484,767,470,784,458,787,462,771,474,761,487,754,500,749,527,743,554,736,568,723,581,713,588"/>
<area shape="rect" href="classdrogon_1_1HttpFilter.html" title="The reflection base class template for filters" alt="" coords="769,584,923,624"/>
<area shape="poly" title=" " alt="" coords="713,601,769,601,769,607,713,607"/>
<area shape="poly" title=" " alt="" coords="458,601,531,601,531,607,458,607"/>
<area shape="rect" href="classdrogon_1_1HttpMiddleware.html" title="The reflection base class template for middlewares" alt="" coords="526,641,705,681"/>
<area shape="poly" title=" " alt="" coords="415,617,526,640,525,645,414,622"/>
<area shape="rect" href="classdrogon_1_1HttpSimpleController.html" title="The reflection base class template for HTTP simple controllers" alt="" coords="509,705,721,745"/>
<area shape="poly" title=" " alt="" coords="423,687,510,703,509,709,422,693"/>
<area shape="rect" href="classdrogon_1_1WebSocketController.html" title="The reflection base class template for WebSocket controllers" alt="" coords="510,769,721,809"/>
<area shape="poly" title=" " alt="" coords="475,775,510,778,510,783,474,780"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a3b6f9f93fce1cb61c43bebea00b77582" id="r_a3b6f9f93fce1cb61c43bebea00b77582"><td class="memItemLeft" align="right" valign="top">virtual const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrogon_1_1DrObjectBase.html#a3b6f9f93fce1cb61c43bebea00b77582">className</a> () const</td></tr>
<tr class="memdesc:a3b6f9f93fce1cb61c43bebea00b77582"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the class name  <br /></td></tr>
<tr class="separator:a3b6f9f93fce1cb61c43bebea00b77582"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a847a57ab1e5cac6e70a910ae5e3f759b" id="r_a847a57ab1e5cac6e70a910ae5e3f759b"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrogon_1_1DrObjectBase.html#a847a57ab1e5cac6e70a910ae5e3f759b">isClass</a> (const std::string &amp;class_name) const</td></tr>
<tr class="memdesc:a847a57ab1e5cac6e70a910ae5e3f759b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if the class name is 'class_name'  <br /></td></tr>
<tr class="separator:a847a57ab1e5cac6e70a910ae5e3f759b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a57e74527aea2d71d9f471b39c70d1b" id="r_a3a57e74527aea2d71d9f471b39c70d1b"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrogon_1_1DrObjectBase.html#a3a57e74527aea2d71d9f471b39c70d1b">~DrObjectBase</a> ()</td></tr>
<tr class="separator:a3a57e74527aea2d71d9f471b39c70d1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>The base class for all drogon reflection classes. </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a3a57e74527aea2d71d9f471b39c70d1b" name="a3a57e74527aea2d71d9f471b39c70d1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a57e74527aea2d71d9f471b39c70d1b">&#9670;&#160;</a></span>~DrObjectBase()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual drogon::DrObjectBase::~DrObjectBase </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a3b6f9f93fce1cb61c43bebea00b77582" name="a3b6f9f93fce1cb61c43bebea00b77582"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b6f9f93fce1cb61c43bebea00b77582">&#9670;&#160;</a></span>className()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual const std::string &amp; drogon::DrObjectBase::className </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the class name </p>
<dl class="section return"><dt>返回</dt><dd>const std::string&amp; the class name </dd></dl>

<p>被 <a class="el" href="classdrogon_1_1DrObject.html#af9339c889b7564b0222b25f42d5a07f1">drogon::DrObject&lt; T &gt;</a>, <a class="el" href="classdrogon_1_1DrObject.html#af9339c889b7564b0222b25f42d5a07f1">drogon::DrObject&lt; IntranetIpFilter &gt;</a>, <a class="el" href="classdrogon_1_1DrObject.html#af9339c889b7564b0222b25f42d5a07f1">drogon::DrObject&lt; LocalHostFilter &gt;</a> , 以及 <a class="el" href="classdrogon_1_1DrObject.html#af9339c889b7564b0222b25f42d5a07f1">drogon::DrObject&lt; NotFound &gt;</a> 重载.</p>

</div>
</div>
<a id="a847a57ab1e5cac6e70a910ae5e3f759b" name="a847a57ab1e5cac6e70a910ae5e3f759b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a847a57ab1e5cac6e70a910ae5e3f759b">&#9670;&#160;</a></span>isClass()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool drogon::DrObjectBase::isClass </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>class_name</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return true if the class name is 'class_name' </p>

<p>被 <a class="el" href="classdrogon_1_1DrObject.html#a51a4b49229662565393999a573549d91">drogon::DrObject&lt; T &gt;</a>, <a class="el" href="classdrogon_1_1DrObject.html#a51a4b49229662565393999a573549d91">drogon::DrObject&lt; IntranetIpFilter &gt;</a>, <a class="el" href="classdrogon_1_1DrObject.html#a51a4b49229662565393999a573549d91">drogon::DrObject&lt; LocalHostFilter &gt;</a> , 以及 <a class="el" href="classdrogon_1_1DrObject.html#a51a4b49229662565393999a573549d91">drogon::DrObject&lt; NotFound &gt;</a> 重载.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li><a class="el" href="DrObject_8h_source.html">DrObject.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>
